package com.yshkj.payment.repository;

import com.yshkj.payment.entity.medicinal.Spec;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by 唐旭 on 2016/10/6.
 */
public interface SpecRepository extends JpaRepository<Spec, String> {
    List<Spec> findOneByCode(String code);
}
